using System;

namespace JT808Protocol.Models.BodyParserStrategy.Location.LocationAddition
{
    // <summary>
    /// IO状态位，定义见 表 32 ,808-2013
    /// </summary>
    public class LaIoStatus_0x2A : ILocationAddition
    {
        public override ILocationAddition ReadEntity(ReadOnlySpan<byte> source, int startIndex)
        {
            DataLength = (byte)(source[startIndex + 1] + 2);
            // todo:IO状态位，定义见 808-2013表 32
            return this;
        }
    }
}